-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathLinux Commands.html
More file actions
60 lines (52 loc) · 2.79 KB
/
Copy pathLinux Commands.html
File metadata and controls
60 lines (52 loc) · 2.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Linux Commands</title>
</head>
<body>
<h1> Common Commands </h1>
<p> The following are a few LINUX Commands</p>
<ol>
<li>pwd - print working directory </li>
<li>mkdir - make directory </li>
<li> cd-change directory</li>
<li> ls-list files
<li> cp= copy files/folder(s)</li>
<li> mv - move/rename files/folders </li>
<li> rm - delete files/folders</li>
<li> cat = catenate (concatenate) - reads one or more files and prints them.</li>
<li> chmod- change file`s access permissions(r,w,o)</li>
<li> chown- change owner of file</li>
</ol>
<p> The following pictures differentiate the commands, "chmod" and "chown"</p>
<img src="images/chmod.jpg" height="720" width="1280" alt="chmod"/>
<img src="images/chown.png" alt="chown"/>
<p>This is an example of an user inputting a few commands to show the files in the directory. </p>
<img src="images/command.png" width="180" height="110" alt="command example"/>
<p> If you need more help, feel free to watch the video linked below</p>
<a href="https://youtu.be/YHFzr-akOas">LINUX Command For Beginners</a>
<p> After inputting commands and/or instructions, a VI editor would be very helpful
The VI editor makes it easier to navigate the words and/or lines. It would also facilitate navugating the screen!</p>
<p> A few examples are:</p>
<ol>
<li> arrow keys: left and right</li>
<li> w: move forward one word</li>
<li> hi: move to the top of the screen</li>
</ol>
<p> If you want to learn more tools available with the VI editor, watch the video linked below</p>
<a href="https://youtu.be/F3OO7ZIOaJE">VI Tutorial</a>
<p> Now, when exchanging information between two computers, it is important to transfer the files and/or information in a secure way.
This is possible by using protocols such as SSH, FTP, or FTPS. Though they may seem familiar, there are a few differences.
- First, unlike FTP and FTPS, SSH uses "public key encryption" for its security. SSH is used hand-in-hand with a VPN connection. SSH is available for all OS systems. However, SSH is not a
default system for file transfers.
- Instead, FTP is used for file transfers. This "protocol" is used because it complies with other protocols. Unlike the port for SSH, the port for
FTP is 21.
- A similar protocol to FTP is SFTP. It is almost like FTP, but more secure as the name "Secure File Transfer Protocol", implies.
Another difference is the port, which, for SFTP is 22 instead of 21.
</p>
<p> Here are some pictures showing the connection to SSH vs SFTP</p>
<img src="images/ssh.png" height="459" width="563" alt="ssh connection"/>
<img src="images/sftp.png" height="430" width="640" alt="sftp connection"/>
</body>
</html>